<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  async created() {
    // console.log(111)
    var res = null;
    res = await this.$axios.get(
      "https://fc-mp-2bbc252d-8ddf-4c35-94ba-91e51bfbf725.next.bspapp.com/mainFun/getDataQingDaoXiaoFang/getDataQingDaoXiaoFang"
    );
    console.log(res);
    if (res.data.data[0]) {
      sessionStorage.setItem("isOk", "admin");
    }
  },
};
</script>

<style>
</style>
